/**
 * @file setting_dual_sim.h
 *
 */
#ifndef SETTING_DUAL_SIM_H
#define SETTING_DUAL_SIM_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/
#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lvgl.h"
#include "lv_watch_conf.h"
#else
#include "../../../lvgl/lvgl.h"
#include "../../../lv_watch_conf.h"
#endif

#if USE_LV_WATCH_DUAL_SIM != 0
/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/
typedef struct {
    lv_watch_obj_ext_t lv_watch_obj;
    /*New data for this type */
    lv_obj_t * cb_sim1;
    lv_obj_t * cb_sim2;
} lv_dualsim_obj_ext_t;

/**********************
 * GLOBAL PROTOTYPES
 **********************/
void dualsim_create_btn_action(lv_obj_t * btn, lv_event_t event);
void dualsim_init(uint8_t simid);

/**********************
 *      MACROS
 **********************/

#endif /*USE_LV_WATCH_DUAL_SIM*/

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*SETTING_DUAL_SIM_H*/
